<p class="PropText"><help:paragraphinfo state="U" number="4" xmlns:help="http://openoffice.org/2000/help"/>MsgBox Text As String [,Type As Integer [,Dialogtitle As String]] (As Statement) or MsgBox (Text As String [,Type As Integer [,Dialogtitle As String]]) (As Function)</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="6" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Text</span>: String expression displayed as a message in the dialog box. Line breaks can be inserted with Chr$(13).</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="7" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">DialogTitle</span>: String expression displayed in the title bar of the dialog. If omitted, the title bar displays the name of the respective application.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="8" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Type</span>: Any integer expression that specifies the dialog type, as well as the number and type of buttons to display, and the icon type. <span class="T1">Type</span> represents a combination of bit patterns, that is, a combination of elements can be defined by adding their respective values:</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="9" xmlns:help="http://openoffice.org/2000/help"/>0 : Display OK button only.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="10" xmlns:help="http://openoffice.org/2000/help"/>1 : Display OK and Cancel buttons.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="15" xmlns:help="http://openoffice.org/2000/help"/>16 : Add the Stop icon to the dialog.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="16" xmlns:help="http://openoffice.org/2000/help"/>32 : Add the Question icon to the dialog.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="17" xmlns:help="http://openoffice.org/2000/help"/>48 : Add the Exclamation icon to the dialog.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="18" xmlns:help="http://openoffice.org/2000/help"/>64 : Add the Information icon to the dialog.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="19" xmlns:help="http://openoffice.org/2000/help"/>128 : First button in the dialog as default button.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="20" xmlns:help="http://openoffice.org/2000/help"/>256 : Second button in the dialog as default button.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="21" xmlns:help="http://openoffice.org/2000/help"/>512 : Third button in the dialog as default button.</p>
<p class="PropText"><help:paragraphinfo state="U" number="25" xmlns:help="http://openoffice.org/2000/help"/>Const sText2 = "The program execution will continue, however."</p>